package com.example.ibsp_demo.mapper.message;


import com.example.ibsp_demo.pojo.entity.user.NotificationSetting;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface MSNotificationSettingMapper {

    // 查询用户的设置
    NotificationSetting selectByUserId(int userId);


    // 插入默认通知设置
    int insert(NotificationSetting setting);

    // 更新通知设置
    int update(NotificationSetting setting);
}
